import { Component } from 'react'
import { Home } from '@page/index'
import { Switch, Route, Redirect } from 'react-router-dom'

class App extends Component {
  render(): JSX.Element {
    return (
      <>
        <Switch>
          <Route exact path='/home' component={Home} />
          <Redirect exact to='/home' />
        </Switch>
      </>
    )
  }
}

export default App
